<?php  $this->pageTitle="Inicio" ; ?>
<?php 
    $config = $session->read('Config');
    if(array_key_exists('dep', $config))
    {
         $dep = $config['dep'];
    }
   else
       {
        $dep =false;
       }
    if(!$dep):
?>
<div id="mapa">
    <?php echo $dep; ?>
    <?php echo $flash->renderSwf('swf/mapa_interactivo.swf',738,422); ?>
</div>
<?php else: ?>
<div id="contenido">

    <?php echo $this->element('banners_inicio',array('dep'=>$dep)); ?>

</div>
<?php endif; ?>